<%@page import="com.hospital.model.PatientInfo"%>
<%@page import="com.hospital.model.UserInfo"%>
<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<link href="images/main.css" rel="stylesheet" type="text/css" />
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script>
	function hid(value) {
		var f = "flag" + value;
		var f1 = document.getElementById(f).innerHTML;
		if(f1 == "+"){
			document.getElementById(f).innerHTML = "-";
		}else if(f1 == "-"){
			document.getElementById(f).innerHTML = "+";
		}
		
		var obj = "d" + value;
		var t = document.getElementById(obj).style.visibility;
		if (t == "") {
			document.getElementById(obj).style.visibility = "hidden";
			document.getElementById(obj).style.height = "0px";
		} else {
			document.getElementById(obj).style.visibility = "";
			document.getElementById(obj).style.height = "50px";
		}
	}
</script>
</head>
<body>
	<div id="left">
		<div id="left_menu"></div>
		<div id="left_tree">
			<div id="tree_text">&nbsp; 
			<%  
    			UserInfo userInfo = (UserInfo)(session.getAttribute("userInfo")); 
    			PatientInfo patientInfo = (PatientInfo)session.getAttribute("patientInfo");
    			if(patientInfo == null){
    				String root = null; 
    				if(userInfo != null){ 
    					root = userInfo.getRoot(); 
    				} 
    				if("1".equals(root)){ //超级管理员
    		%>	
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(1);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag1">+</span>&nbsp;用户信息管理
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d1" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="user_info_manage.jsp" target="rightFrame">查看用户信息</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="user_info_add.jsp" target="rightFrame">添加用户信息</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(2);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag2">+</span>&nbsp;病患信息管理
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d2" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="patient_info_manage.jsp" target="rightFrame">查看病患信息</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="patient_info_add.jsp" target="rightFrame">添加病患信息</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(3);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag3">+</span>&nbsp;挂号信息管理
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d3" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="order_add.jsp" target="rightFrame">填写挂号信息</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="order_manage.jsp" target="rightFrame">维护挂号信息</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(4);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag4">+</span>&nbsp;诊断信息管理
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d4" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="cure_add.jsp" target="rightFrame">填写诊断信息</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="cure_manage.jsp" target="rightFrame">详细诊断信息</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(6);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag6">+</span>&nbsp;就诊类型管理
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d6" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="dict_manage.jsp" target="rightFrame">查看就诊类型</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="dict_add.jsp" target="rightFrame">添加就诊类型</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(7);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag7">+</span>&nbsp;部门信息管理
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d7" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="departmentByadmin_info_manage.jsp" target="rightFrame">查看部门信息</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="departmentByadmin_info_add.jsp" target="rightFrame">添加部门信息</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(8);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag8">+</span>&nbsp;检查项目管理
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d8" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="check_info_manage.jsp" target="rightFrame">查看检查项目</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="check_info_add.jsp" target="rightFrame">添加检查项目</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(9);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag9">+</span>&nbsp;登陆日志管理
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d9" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="logintime_info_manage.jsp" target="rightFrame">查看登陆日志</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<font color="#3A6279">请定时查看信息</font></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(10);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag10">+</span>&nbsp;相关信息查询
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d10" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="search_info_patient_input.jsp" target="rightFrame">病患模糊查询</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="search_info_doctor_input.jsp" target="rightFrame">医生模糊查询</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(11);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag11">+</span>&nbsp;员工信息导入
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d11" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="uploadExcel.jsp" target="rightFrame">导入员工信息</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
			<%		}if("2".equals(root)){ //医生门诊信息管理 %>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(1);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag1">+</span>&nbsp;医生信息管理
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d1" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="doctor_info_show.jsp" target="rightFrame">查看个人信息</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="doctor_info_modify.jsp" target="rightFrame">维护个人信息</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(2);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag2">+</span>&nbsp;挂号信息管理
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d2" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="order_manage.jsp" target="rightFrame">查看挂号信息</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="search_info_order_input.jsp" target="rightFrame">查询挂号信息</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(3);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag3">+</span>&nbsp;诊断信息管理
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d3" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="cure_add.jsp" target="rightFrame">填写诊断信息</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="cure_manage.jsp" target="rightFrame">详细诊断信息</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
			<%		}if("3".equals(root)){ //住院护士管理%>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(1);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag1">+</span>&nbsp;用户信息管理
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d1" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="nurse_info_show.jsp" target="rightFrame">查看个人信息</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="nurse_info_modify.jsp" target="rightFrame">维护个人信息</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(2);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag2">+</span>&nbsp;住院病房管理
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d2" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="bedhouse_info_manage.jsp" target="rightFrame">查看病房信息</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="bedhouse_info_add.jsp" target="rightFrame">添加病房信息</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(3);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag3">+</span>&nbsp;住院病床管理
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d3" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="sickbed_info_manage.jsp" target="rightFrame">查看病床信息</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="sickbed_info_add.jsp" target="rightFrame">添加病床信息</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(4);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag4">+</span>&nbsp;住院病患管理
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d4" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="inhospitalpatient_info_manage.jsp" target="rightFrame">需要住院病患</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="inhospitalpatient_info_add.jsp" target="rightFrame">添加住院信息</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(5);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag5">+</span>&nbsp;住院病情管理
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d5" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="Inhospitable_cure_manage.jsp" target="rightFrame">管理住院病情</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="Inhospitable_cure_add.jsp" target="rightFrame">添加住院病情</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(6);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag6">+</span>&nbsp;病人出入院情况统计
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d6" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="inhospitalpatient_info_record.jsp" target="rightFrame">查看出入院情况表</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
			<%		}if("4".equals(root)){ //挂号员信息管理 %>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(1);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag1">+</span>&nbsp;病患信息管理
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d1" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="patient_info_manage.jsp" target="rightFrame">查看病患信息</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="patient_info_add.jsp" target="rightFrame">添加病患信息</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(2);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag2">+</span>&nbsp;挂号信息管理
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d2" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="order_add.jsp" target="rightFrame">填写挂号信息</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="order_manage.jsp" target="rightFrame">维护挂号信息</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(3);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag3">+</span>&nbsp;相关信息查询
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d3" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="search_info_patient_input.jsp" target="rightFrame">病患模糊查询</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="search_info_doctor_input.jsp" target="rightFrame">医生模糊查询</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="search_info_dept_input.jsp" target="rightFrame">科室医生查询</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
			</div>
			<%		}if("7_1".equals(root)){ //药品基础信息管理 %>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(1);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag1">+</span>&nbsp;用户信息管理
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d1" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="medicine_manager_show.jsp" target="rightFrame">查看个人信息</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="medicine_manager_modify.jsp" target="rightFrame">维护个人信息</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(3);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag3">+</span>&nbsp;医院药房管理
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d3" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="ypkufangshengyu_info_manage.jsp" target="rightFrame">医院药房情况</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="ypkufangzhuangtai_info_manage.jsp" target="rightFrame">药房状态查看</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(6);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag6">+</span>&nbsp;药物基础管理
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d6" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="yaoname_info_manage.jsp" target="rightFrame">查看药品名称</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="yaoname_info_add.jsp" target="rightFrame">增加药品名称</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="drugstorage_info_manage.jsp" target="rightFrame">查看仓库名称</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="drugstorage_info_add.jsp" target="rightFrame">增加仓库名称</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="ypmodel_info_manage.jsp" target="rightFrame">查看剂型名称</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="ypmodel_info_add.jsp" target="rightFrame">增加剂型名称</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="ypdw_info_manage.jsp" target="rightFrame">查看单位名称</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="ypdw_info_add.jsp" target="rightFrame">增加单位名称</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
			<% 		}if("7_2".equals(root)){ //药品进销信息管理 %>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(1);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag1">+</span>&nbsp;用户信息管理
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d1" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="medicinesale_manager_show.jsp" target="rightFrame">查看个人信息</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="medicinesale_manager_modify.jsp" target="rightFrame">维护个人信息</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(6);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag6">+</span>&nbsp;药品进货管理
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d6" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="ypjinhuo_info_manage.jsp" target="rightFrame">医院进货管理</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="ypjinhuo_info_add.jsp" target="rightFrame">添加新进货单</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;</td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(7);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag7">+</span>&nbsp;药品开药管理
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d7" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="ypkaiyao_info_manage.jsp" target="rightFrame">医院开药管理</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="ypkaiyao_info_add.jsp" target="rightFrame">增加医院开药</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;</td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(8);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag8">+</span>&nbsp;医院药房管理
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d8" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="ypkufangshengyu_info_manage.jsp" target="rightFrame">医院药房情况</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="ypkufangzhuangtai_info_manage.jsp" target="rightFrame">药房状态查看</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(9);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag9">+</span>&nbsp;统计报表查看
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d9" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="ypkaiyaoprint_info_manage.jsp" target="rightFrame">销售情况统计</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="ypjinhuoprint_info_manage.jsp" target="rightFrame">进货情况统计</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(10);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag10">+</span>&nbsp;药品剩余数量
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d10" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="search_info_medicinename_input.jsp" target="rightFrame">查询药品剩余</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
			<% 		}if("8_1".equals(root)){ //财务管理 %>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(6);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag6">+</span>&nbsp;个人信息维护
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d6" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="financialperson_info_modify.jsp" target="rightFrame">修改个人信息</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="financialperson_info_show.jsp" target="rightFrame">查看个人信息</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;</td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(7);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag7">+</span>&nbsp;病人充值管理
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d7" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="patientmoney_info_manage.jsp" target="rightFrame">查看病人充值</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="patientmoney_info_modify.jsp" target="rightFrame">病人卡片充值</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;</td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(8);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag8">+</span>&nbsp;药品价格管理
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d8" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="yaoshoujia_info_manage.jsp" target="rightFrame">查看药品价格</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="yaoshoujia_info_modify_1.jsp" target="rightFrame">修改药品价格</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;</td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(9);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag9">+</span>&nbsp;统计报表管理
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d9" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb"> 
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="patientmoneyprint_info_manage.jsp" target="rightFrame">病人充值收入汇总</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="ypkaiyaoprint_info_manage.jsp" target="rightFrame">药品销售收入汇总</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="checkmoneyprint_info_manage.jsp" target="rightFrame">检查项目收入汇总</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="ordermoneyprint_info_manage.jsp" target="rightFrame">门诊项目收入汇总</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="salaryprint_info_manage.jsp" target="rightFrame">全院工资支出汇总</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="ypjinhuoprint_info_manage.jsp" target="rightFrame">药品进货支出汇总</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
			<% 		}if("8_2".equals(root)){ //财务会计信息管理 %>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(6);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag6">+</span>&nbsp;个人信息维护
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d6" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb"> 
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="financialperson_info_modify.jsp" target="rightFrame">修改个人信息</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="financialperson_info_show.jsp" target="rightFrame">查看个人信息</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;</td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(7);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag7">+</span>&nbsp;统计报表管理
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d7" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb"> 
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="patientmoneyprint_info_manage.jsp" target="rightFrame">病人充值收入汇总</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="ypkaiyaoprint_info_manage.jsp" target="rightFrame">药品销售收入汇总</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="checkmoneyprint_info_manage.jsp" target="rightFrame">检查项目收入汇总</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="ordermoneyprint_info_manage.jsp" target="rightFrame">门诊项目收入汇总</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="salaryprint_info_manage.jsp" target="rightFrame">全院工资支出汇总</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="ypjinhuoprint_info_manage.jsp" target="rightFrame">药品进货支出汇总</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
			<% 		}if("0".equals(root)){ //新注册工作人员（未分配状态）%>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td height="30px">
							<span class="STYLE3">请您联系管理员，您的账号还处于未分配角色以及工作部门状态</span>
						</td>
					</tr>
				</table>
			<%		}
				}else{
			 %>	
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(6);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag6">+</span>&nbsp;个人信息维护
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d6" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="patient_info_modify.jsp" target="rightFrame">修改个人信息</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="patient_info_show.jsp" target="rightFrame">查看个人信息</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;</td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(7);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag7">+</span>&nbsp;相关信息查询
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d7" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="search_info_doctor_input.jsp" target="rightFrame">医生模糊查询</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="search_info_dept_input.jsp" target="rightFrame">科室医生查询</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(8);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag8">+</span>&nbsp;远程挂号系统
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d8" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="patientorder_info_add.jsp" target="rightFrame">填写挂号信息</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="patientorder_info_show.jsp" target="rightFrame">查看个人挂号</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;</td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: center;">
					<tr>
						<td onclick="hid(9);" style="cursor: pointer" height="30px">
							&nbsp;<span id="flag9">+</span>&nbsp;查看个人住院信息
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="d9" style="visibility: hidden;height: 0px;">
								<table border="0" cellpadding="0" cellspacing="0" class="tb">
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;<a href="inhospitalpatient_info_record_Bypatient.jsp" target="rightFrame">个人住院信息</a></td>
									</tr>
									<tr height="25px">
										<td>&nbsp;&nbsp;&nbsp;</td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
			<% }
			%>	
			</div>
		</div>
		<div id="tree_down">
		</div>
</body>
</html>
